import React from 'react'
import ReactDOM from 'react-dom/client'
import '@/assects/index.scss'
import RouterView from './routes/RouterView.tsx'
import routes from './routes/RouterConfig.ts'
import {store} from './store/index.tsx'
import { Provider } from 'react-redux'

ReactDOM.createRoot(document.getElementById('root')!).render(
<Provider store={store}>
 <RouterView routes={routes} mode="history" />
</Provider>
 
)
